#ifndef X31_H
#define X31_H

#include "common.h"

#include <string>

// String graphic
struct x31_hdr
{
    uint16_t t;
    uint8_t subtype;
    uint8_t layer;

    uint32_t k;

    // Points to x30
    uint32_t str_graphic_wrapper_ptr;

    int32_t coords[2];

    uint16_t un;

    uint16_t len;
};
struct x31
{
    x31_hdr hdr;
    std::string s;
};

#endif // X31_H
